package com.skyjoo.search.test.stock;

import com.skyjoo.search.lucene.Item;
import com.skyjoo.search.lucene.common.DomainBase;

public class Stock extends DomainBase implements Item {

    /**
     * 
     */
    private static final long serialVersionUID = 3785371623273969008L;

    private String            id;
    private String            stockName;

    public Stock(String id, String stockName) {
        this.id = id;
        this.stockName = stockName;
    }

    public Stock() {
    }

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName;
    }

    @Override
    public String getIdentity() {
        return this.id;
    }

    @Override
    public long getModifyTime() {
        // TODO Auto-generated method stub
        return 0;
    }

}
